<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<script type="text/javascript">
<%
  if(request.getParameter("error")!=null){
%>
  alert("考生正在考试，此时不能从新设置！");  
<%
  }
  else{
%>
  parent.location.reload();
<%
  }
%>
</script>